package com.jk.cart.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "usercart")
public class Cart {

    @Id
    String Id;  //自增主键
    String customerGoodsId; //购物车id

    String userId;

    Double allPrice;

}
